package edu.njust.domain;


import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Reservation {
    private int id;

    @JsonProperty("roomID")
    private Integer roomID;                    //房间ID
    @JsonProperty("roomLevelID")
    private int roomLevelID;               //房间状态
    @JsonProperty("passengerID")
    private int passengerID;               //旅客ID
    @JsonProperty("payWayID")
    private int payWayID;                  //支付方式ID
    @JsonProperty("predetermineStateID")
    private int predetermineStateID;       //预订状态ID
    @JsonProperty("arriveTime")
    private Date arriveTime;              //抵达时间

    @JsonProperty("deposit")
    private double deposit;                    //押金

    @JsonProperty("predetermineDay")
    private int predetermineDay;           //  预定天数

    @JsonProperty("remind")
    private int remind;                   //到时提醒
    //预订ID 的 扩展字段属性

    private String payWayName;                            //预订支付方式名称

    private String predetermineStateName;                 //预订状态名称
    //房间字段
    private int roomGuestRoomLevelID;            //房间的客房等级ID

    private int roomStateID;                     //房间的房态ID

    private String roomNumber;                       //房间的房间号

    private String roomAmount;                       //房间的床位数

    private double roomStandardPriceDay;             //房间的标准房价/天

    private String roomGuestRoomLevelName;             //房间的客房等级名称

    private String roomStateName;                      //房间的房态名称
    //旅客字段
    private int consumerPapersID;              //预定的旅客的证件ID

    private int consumerEducationDegreeID;     //预定的旅客的文化程度ID

    private int consumerGenderID;              //预定的旅客的性别ID

    private int consumerNationID;              //预定的旅客的民族ID

    private int consumerThingReasonID;         //预定的旅客的事由

    private String consumerName;                   //预定的旅客的姓名

    private String consumerNumber;           //预定的旅客的证件号码

    private String consumerBirthDate;              //预定的旅客的出生日期

    private String consumerUnitsOrAddress;         //预定的旅客的单位或住址

    private String consumerProfession;             //预定的旅客的职业

    private String consumerContactPhoneNumber;     //预定的旅客的联系电话

    private String consumerRemarks;                //预定的旅客的备注

    //扩展字段

    private String consumerPapersName;             //预定的旅客的证件名称

    private String consumerEducationDegreeName;    //预定的旅客的文化程度名称

    private String consumerGenderName;             //预定的旅客的姓别

    private String consumerNationName;             //预定的旅客的民族名称

    private String consumerThingReasonName;        //预定的旅客的事由

    public int getRoomLevelID() {
        return roomLevelID;
    }

    public void setRoomLevelID(int roomLevelID) {
        this.roomLevelID = roomLevelID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getRoomID() {
        return roomID;
    }

    public void setRoomID(int roomID) {
        this.roomID = roomID;
    }

    public int getPassengerID() {
        return passengerID;
    }

    public void setPassengerID(int passengerID) {
        this.passengerID = passengerID;
    }

    public int getPayWayID() {
        return payWayID;
    }

    public void setPayWayID(int payWayID) {
        this.payWayID = payWayID;
    }

    public int getPredetermineStateID() {
        return predetermineStateID;
    }

    public void setPredetermineStateID(int predetermineStateID) {
        this.predetermineStateID = predetermineStateID;
    }

    public Date getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(Date arriveTime) {
        this.arriveTime = arriveTime;
    }

    public double getDeposit() {
        return deposit;
    }

    public void setDeposit(double deposit) {
        this.deposit = deposit;
    }

    public int getPredetermineDay() {
        return predetermineDay;
    }

    public void setPredetermineDay(int predetermineDay) {
        this.predetermineDay = predetermineDay;
    }

    public int getRemind() {
        return remind;
    }

    public void setRemind(int remind) {
        this.remind = remind;
    }

    public String getPayWayName() {
        return payWayName;
    }

    public void setPayWayName(String payWayName) {
        this.payWayName = payWayName;
    }

    public String getPredetermineStateName() {
        return predetermineStateName;
    }

    public void setPredetermineStateName(String predetermineStateName) {
        this.predetermineStateName = predetermineStateName;
    }

    public int getRoomGuestRoomLevelID() {
        return roomGuestRoomLevelID;
    }

    public void setRoomGuestRoomLevelID(int roomGuestRoomLevelID) {
        this.roomGuestRoomLevelID = roomGuestRoomLevelID;
    }

    public int getRoomStateID() {
        return roomStateID;
    }

    public void setRoomStateID(int roomStateID) {
        this.roomStateID = roomStateID;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getRoomAmount() {
        return roomAmount;
    }

    public void setRoomAmount(String roomAmount) {
        this.roomAmount = roomAmount;
    }

    public double getRoomStandardPriceDay() {
        return roomStandardPriceDay;
    }

    public void setRoomStandardPriceDay(double roomStandardPriceDay) {
        this.roomStandardPriceDay = roomStandardPriceDay;
    }

    public String getRoomGuestRoomLevelName() {
        return roomGuestRoomLevelName;
    }

    public void setRoomGuestRoomLevelName(String roomGuestRoomLevelName) {
        this.roomGuestRoomLevelName = roomGuestRoomLevelName;
    }

    public String getRoomStateName() {
        return roomStateName;
    }

    public void setRoomStateName(String roomStateName) {
        this.roomStateName = roomStateName;
    }

    public int getConsumerPapersID() {
        return consumerPapersID;
    }

    public void setConsumerPapersID(int consumerPapersID) {
        this.consumerPapersID = consumerPapersID;
    }

    public int getConsumerEducationDegreeID() {
        return consumerEducationDegreeID;
    }

    public void setConsumerEducationDegreeID(int consumerEducationDegreeID) {
        this.consumerEducationDegreeID = consumerEducationDegreeID;
    }

    public int getConsumerGenderID() {
        return consumerGenderID;
    }

    public void setConsumerGenderID(int consumerGenderID) {
        this.consumerGenderID = consumerGenderID;
    }

    public int getConsumerNationID() {
        return consumerNationID;
    }

    public void setConsumerNationID(int consumerNationID) {
        this.consumerNationID = consumerNationID;
    }

    public int getConsumerThingReasonID() {
        return consumerThingReasonID;
    }

    public void setConsumerThingReasonID(int consumerThingReasonID) {
        this.consumerThingReasonID = consumerThingReasonID;
    }

    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    public String getConsumerNumber() {
        return consumerNumber;
    }

    public void setConsumerNumber(String consumerNumber) {
        this.consumerNumber = consumerNumber;
    }

    public String getConsumerBirthDate() {
        return consumerBirthDate;
    }

    public void setConsumerBirthDate(String consumerBirthDate) {
        this.consumerBirthDate = consumerBirthDate;
    }

    public String getConsumerUnitsOrAddress() {
        return consumerUnitsOrAddress;
    }

    public void setConsumerUnitsOrAddress(String consumerUnitsOrAddress) {
        this.consumerUnitsOrAddress = consumerUnitsOrAddress;
    }

    public String getConsumerProfession() {
        return consumerProfession;
    }

    public void setConsumerProfession(String consumerProfession) {
        this.consumerProfession = consumerProfession;
    }

    public String getConsumerContactPhoneNumber() {
        return consumerContactPhoneNumber;
    }

    public void setConsumerContactPhoneNumber(String consumerContactPhoneNumber) {
        this.consumerContactPhoneNumber = consumerContactPhoneNumber;
    }

    public String getConsumerRemarks() {
        return consumerRemarks;
    }

    public void setConsumerRemarks(String consumerRemarks) {
        this.consumerRemarks = consumerRemarks;
    }

    public String getConsumerPapersName() {
        return consumerPapersName;
    }

    public void setConsumerPapersName(String consumerPapersName) {
        this.consumerPapersName = consumerPapersName;
    }

    public String getConsumerEducationDegreeName() {
        return consumerEducationDegreeName;
    }

    public void setConsumerEducationDegreeName(String consumerEducationDegreeName) {
        this.consumerEducationDegreeName = consumerEducationDegreeName;
    }

    public String getConsumerGenderName() {
        return consumerGenderName;
    }

    public void setConsumerGenderName(String consumerGenderName) {
        this.consumerGenderName = consumerGenderName;
    }

    public String getConsumerNationName() {
        return consumerNationName;
    }

    public void setConsumerNationName(String consumerNationName) {
        this.consumerNationName = consumerNationName;
    }

    public String getConsumerThingReasonName() {
        return consumerThingReasonName;
    }

    public void setConsumerThingReasonName(String consumerThingReasonName) {
        this.consumerThingReasonName = consumerThingReasonName;
    }
}
